<template>
	<view  class="container">
		<u-empty mode="message"></u-empty>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onLoad() {
			//建立连接
			// this.goeasy.connect({
			// 	id:"001", //pubsub选填，im必填
			// 	data:{"avatar":"http://hy.image.lixin123.cn/85261e96c8da42d9af971fd569971cc9","nickname":"Neo"}, //必须是一个对象，pubsub选填，im必填，用于上下线提醒和查询在线用户列表时，扩展更多的属性
			// 	onSuccess: function () {  //连接成功
			// 	  console.log("GoEasy connect successfully.") //连接成功
			// 	},
			// 	onFailed: function (error) { //连接失败
			// 	  console.log("Failed to connect GoEasy, code:"+error.code+ ",error:"+error.content);
			// 	},
			// 	onProgress:function(attempts) { //连接或自动重连中
			// 	  console.log("GoEasy is connecting", attempts);
			// 	}
			// });
		}
	}
</script>

<style lang="scss">
	@import "./chat.scss";
</style>
